-- GENERATED SPELL FOR [Unliving Swine] --


function spell0_25600(pUnit, Event) --@Swine Flu,n/a--
pUnit:FullCastSpellOnTarget(50303,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25600', 30292, 1)
end

function Sorts_25600(pUnit, Event)
local choix_sorts_25600 = math.random(0, 0)
if choix_sorts_25600 == 0 then
pUnit:RegisterEvent('spell0_25600', 1, 1)
end
end

function mob25600_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25600', math.random(1500, 3000), 1)
end

function mob25600_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25600_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25600_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25600, 1, 'mob25600_Action')
RegisterUnitEvent(25600, 2, 'mob25600_Leave')
RegisterUnitEvent(25600, 3, 'mob25600_Kill')
RegisterUnitEvent(25600, 4, 'mob25600_Die')
